package com.simple.datax.dao;

import java.util.List;

import com.simple.datax.vo.DataxEnterpriseChannelIdVO;
import com.simple.datax.vo.DataxEnterpriseChannelVO;
import com.simple.datax.vo.EnterpriseChannelDetailVO;
import com.simple.util.object.PageInfoBean;

public interface IDataxEnterpriseChannelDAO {
	DataxEnterpriseChannelVO findById(final DataxEnterpriseChannelIdVO id);
    
    void saveOrUpdate(final DataxEnterpriseChannelVO dataxEnterpriseChannelVO);
    
    void update(final DataxEnterpriseChannelVO dataxEnterpriseChannelVO);

    List<DataxEnterpriseChannelVO> findAll();

    void delete(final DataxEnterpriseChannelVO dataxEnterpriseChannelVO);
    
    void delete(final DataxEnterpriseChannelIdVO id);
    
    public List<EnterpriseChannelDetailVO> findAllDetailByPage(String entCode,String entName,PageInfoBean pageInfoBean);

}
